package com.cdtu.vo;

import com.cdtu.entity.Study;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class StudyDTO extends Study {
    private List<Study> Studys;

    private String name;
    private Long id;

    /**
     * 视频地址
     */
    private String vedioSrc;

    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    /**
     * 作者
     */
    private Long publishUser;

    /**
     * 视频简介
     */
    private String digest;

    /**
     * 标题
     */
    private String title;

    /**
     * 时长
     */
    private Date duration;

    /**
     * 类型id
     */
    private Long certifyTypeId;

    /**
     * 套题地址
     */
    private String topicSrc;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 要点
     */
    private String gist;
    private double initialTime=0;
    private long watchNumber;
//    private List<CertifyTypeVO> studyRecord1List;
//    private List<StudyRecord2DTO> studyRecord2List;
}
